<?php
SeasLog::setBasePath("/var/www/data/log"); //设置根目录
SeasLog::setLogger("testLogger"); //设置模块
SeasLog::info("This is a Info");  //info级别日志
SeasLog::debug("This is a debug"); //debug级别日志
SeasLog::notice("This is a notice"); //notice级别日志
SeasLog::warning('This waring is {$warning}', ['{$warning}' => 'code fail']); //warning级别日志
SeasLog::error('This is a error'); //error级别日志